﻿using System;

namespace NsbExtensions.Messages.Management.Monitoring
{
    public enum MeasurementDataType
    {
        Numeric,
        Boolean,
        Text
    }

    [Serializable]
    public class EndpointMeasurement : IEndpointMeasurement
    {
        #region IEndpointMeasurement Members

        public DateTime Timestamp { get; set; }
        public string Name { get; set; }
        public string Value { get; set; }
        public string UnitOfMeasurement { get; set; }
        public bool CanAggregate { get; set; }
        public MeasurementDataType DataType { get; set; }

        #endregion
    }
}